package com.yulinlin.oss;

import com.yulinlin.common.domain.SuperEntity;
import com.yulinlin.data.core.anno.JoinField;
import com.yulinlin.data.core.anno.JoinTable;
import com.yulinlin.data.core.anno.JoinWhere;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;


@Data
@ApiModel("系统文件")
@JoinTable("sys_file")
public class SysFileEntity extends SuperEntity<SysFileEntity>  {









        @NotEmpty(message = "必填")
        @ApiModelProperty("文件类型")
        @JoinWhere
        @JoinField
        private String fileType;





        @NotEmpty(message = "必填")
        @ApiModelProperty("大小")
        @JoinWhere
        @JoinField
        private Double fileSize;





        @NotEmpty(message = "必填")
        @ApiModelProperty("url")
        @JoinWhere
        @JoinField
        private String url;


















}
